package com.example.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.example.bean.Borrow;
import com.example.bean.Return;
import com.example.service.ReturnService;
import com.example.mapper.ReturnMapper;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
* @author wjf
* @description 针对表【return】的数据库操作Service实现
* @createDate 2022-10-13 16:19:51
*/
@Service
public class ReturnServiceImpl extends ServiceImpl<ReturnMapper, Return>
    implements ReturnService{

    @Resource
    private ReturnMapper returnMapper;

    @Override
    public IPage<Return> findPage(IPage<Return> page, String bookName, String userName) {
        IPage<Return> page1 =   returnMapper.findPage(page,bookName,userName);
        return page1;
    }
}




